﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/ConsumerMaster.master" CodeFile="categorydish.aspx.cs" Inherits="MasterPages_Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Consumer_ContentPlaceHolder" Runat="Server">
<div style="width:99%; background-color:#aaaadd; border-width:1px; border-style:solid; border-color:Lime">
    <asp:Label ID="info_label" runat="server" Font-Bold="true" Font-Size="medium"></asp:Label>
</div>
<div style="overflow:scroll">
<asp:DataList ID="categorydish_datalist" runat="server"  DataKeyField="categorydish_id" Width="100%" BorderWidth="2px" 
    CellPadding="4" CellSpacing="1" BorderStyle="solid" HorizontalAlign="Left" RepeatDirection="Horizontal" 
    RepeatColumns="5">
    <ItemTemplate>
           <asp:CheckBox ID="choose_checkbox" runat="server" Visible="false" Enabled="false" />
           <asp:HyperLink ID="HyperLink1"  runat="server" Text='<%#Eval("dish_name")+"&#165;"+Eval("categorydish_price")%>'
            NavigateUrl='<%#"~/public/samedish-categorydish_id="+Eval("categorydish_id")+"-id="+Eval("dish_id")+".aspx"%>'>
            </asp:HyperLink> 
    </ItemTemplate>
    <ItemStyle BackColor="#FFF7E7" ForeColor="#8C4510" HorizontalAlign="Left"/>
    </asp:DataList>
</div>
</asp:Content>